<template>
  <div>
    <Nuxt />
  </div>
</template>
<script>
import Vue from "vue";
import { mapGetters } from "vuex";
Vue.mixin({
  computed: {
    ...mapGetters({
      openId: "authen/openId",
      accessToken: "authen/accessToken",
      unionId: "authen/unionId",
      enterpriseId: "authen/enterpriseId",
      phone: "authen/phone",
      consumerId: "authen/consumerId"
    })
  }
});
export default {
  mounted() {
    console.log("layouts执行了吗", this);
    // console.log(this);
    //  (function() {
    //   var hm = document.createElement("script");
    //   hm.src = "http://res.wx.qq.com/open/js/jweixin-1.6.0.js";
    //   var s = document.getElementsByTagName("script")[0];
    //   s.parentNode.insertBefore(hm, s);
    // })();
  }
};
</script>
t

<style>
html {
  font-family: "Source Sans Pro", "Microsoft YaHei UI", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13.333333333333333vw;
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: none;
}
body {
  font-size: 12px;
}
</style>
